<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <%@ include file="../au_inc.jsp" %>
    <script type="text/javascript">
    //所有的子窗体都需要有一个btnSelect函数，当点击弹出窗体的保存按钮时所进行的操作
    function btnSelect_click()
    {
        var fun_ret = false;

        var nodeSelect = $('#treeModule').tree('getSelected');
        if(nodeSelect != null && nodeSelect != "")
        {
            var id = nodeSelect.id;
            var name = nodeSelect.text;
            return id+","+name;
        }
        else
        {
            top.Ext.Msg.alert("提示","请选择上级模块！");
            return "";
        }
    }
    
    </script>
  </head>
  <body>
    <div id="cenTitle" data-options="region:'center',title:''" fit="true">
        <div class="easyui-panel" style="padding:0px" style="height:390px" >
            <ul id="treeModule" class="easyui-tree" data-options="url:'${baseUrl}/admin/modules/show?type=${type }',method:'get',animate:true,checkbox:true" idField='id' treeField='name'></ul>
        </div>
    </div>
  </body>
</html>
